/*
 * Element.java
 *
 * Created on 20 novembre 2007, 13:22
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package groupe22;

import java.io.File;

/**
 *
 * @author colle53
 */
public abstract class Element {
    
    private String nom;
    private File courant;
    /** Creates a new instance of Element */
    public Element(String nom,File courant) {
        
        this.courant=courant;
        this.nom=nom;
    }
    
    public Element(){
        
    }
    
    public File getFile(){
        
        return this.courant;
    }
    
    public String toString(){
        
        return this.nom;
    }
    
    public void setCourant(File c){
        courant=c;
    }
    
    public void setNom(String nom){
        
        this.nom=nom;
    }
}
